<script lang="ts" setup>
import { ref } from 'vue'
import rzcx from './tabs/rzcx.vue'

// 入参
const loading = ref<boolean>(false)

const activeName = ref('rzcx')

const tabsList = ref<any[]>([
  {
    label: '日志查询',
    name: 'rzcx',
  },
])
</script>
<template>
  <div class="container" v-loading="loading">
    <el-tabs type="card" v-model="activeName">
      <el-tab-pane
        v-for="item in tabsList"
        :key="item.name"
        :label="item.label"
        :name="item.name"
        lazy
      >
        <rzcx ref="jyglRef"></rzcx>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<style lang="scss" scoped>
.container {
  width: 100%;
  height: 100%;
  background-color: #fff;
}
</style>
